{% extends "base.html" %}
{% block title %}出版社添加{% endblock %}
{% block content %}
<form  style="width:900px; margin: 10px auto 0; " method="post" action="/phone/press">
<fieldset style="float: left; width:400px; clear:none">
<legend>{% ifequal action 'edit' %}修改{% else %}新增{% endifequal %}出版社</legend>
<ul style="list-style:none;">
<li>
<label>出版社名称：</label>
<input type="text" name="name" value="{{press.name}}"/></li>
<li><label>描述：</label>
<textarea name="desc">{{press.desc}}</textarea></li>
<li style="text-align:right"><input type="submit"  value="保存" /></li>
<input type="hidden" value="{{action}}" name="action"/>
<input type="hidden" value="{{key}}" name="key"/>
</ul>
</fieldset>
</form>
{% endblock %}
